#ifndef QSOFTUNDOSTACK_H
#define QSOFTUNDOSTACK_H

#include <QUndoStack>

namespace CORELIB
{

    class QSoftUndoStack : public QUndoStack
    {
        Q_OBJECT
    public:
        explicit QSoftUndoStack(QObject *parent = 0);


        QAction *createUndoAction(QObject *parent,
                                    const QString &prefix = QString()) const;
        QAction *createRedoAction(QObject *parent,
                                    const QString &prefix = QString()) const;
    signals:

    public slots:
        void    redo_slot();
        void    undo_slot();
    };

}

#endif // QSOFTUNDOSTACK_H
